/**
 * 图片上传视图
 */
Ext.define('app.view.attendance.UploadSign',{
	extend:'Ext.window.Window',
	alias:'widget.uploadsign',
	title:'上传文件',
	modal : true,
	bodyPadding:5,
	width:350,
	//layout:'form',
	items:{
		xtype:'form',
		defaults:{		//表单默认属性
			labelSeparator : ": ",
			labelWidth : 80,
			width : 260,
			//allowBlank : false,	//表单不为空
			msgTarget : 'side',
			labelAlign:'right',	//标签右对齐
			//blankText : '不能为空' ,
		},
		margin:5,
		border:false,
		items:[
		       {xtype:'hidden',name:'excelPath',id:"excelPath"},
		       {xtype:'filefield',name:'text',fieldLabel:'文件名',},
		]
		},
	buttons:[{
		text:'上传',action:'upload'
	},{
		text:'批量添加',action:'addAll'
	}],	
})


